﻿B4J=true
Group=Default Group\Utils
ModulesStructureVersion=1
Type=StaticCode
Version=10.3
@EndOfDesignText@

'' 模块全局变量
Sub Process_Globals
	
End Sub

'' 写正常日志
public Sub WirteLog(LogTxt As String)
	DateTime.DateFormat="yyyy-MM-dd HH:mm:ss"
	LogColor("【INFO】【"& DateTime.Date(DateTime.Now) & "】" & LogTxt,0xFF0000FF)
End Sub

'' 写警告日志
public Sub WirteWranLog(LogTxt As String)
	DateTime.DateFormat="yyyy-MM-dd HH:mm:ss"
	LogColor("【WRAN】【"& DateTime.Date(DateTime.Now) & "】" & LogTxt,0xFFFF7700)
End Sub

'' 写错误日志
public Sub WirteErrorLog(LogTxt As String)
	DateTime.DateFormat="yyyy-MM-dd HH:mm:ss"
	LogColor("【ERROR】【"& DateTime.Date(DateTime.Now) & "】" & LogTxt,0xFFFF0000)
End Sub